import request from '@/utils/request'

/**
 *  获取宠物位置信息
 * @param { int } petId
 */
export function getPetLocationService(petId) {
    return request({
        url: `/locations/${petId}/current`,
        method: 'get'
    })
}

/**
 *  获取宠物位置今日记录
 * @param { int } petId
 */
export function getPetLocationTodayService(petId) {
     return request({
        url: `/locations/${petId}/today`,
        method: 'get'
     })
 }